package com.shiliuzi.www.pojo.dto.download;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DownloadExcelDto {

    /**
     * 成员姓名
     */
    @ExcelProperty(value = "成员姓名", index = 0)
    private String userName;

    /**
     * 学号
     */
    @ExcelProperty(value = "学号", index = 1)
    private String number;

    /**
     * 奖惩日期
     */
    @ExcelProperty(value = "奖惩日期", index = 2)
    private String date;

    /**
     * 奖惩类型
     */
    @ExcelProperty(value = "奖惩类型", index = 3)
    private String type;

    /**
     * 奖惩类别
     */
    @ExcelProperty(value = "奖惩类别", index = 4)
    private String typeContent;

    /**
     * 奖惩内容
     */
    @ExcelProperty(value = "奖惩内容", index = 5)
    private String content;

    /**
     * 奖惩原因
     */
    @ExcelProperty(value = "奖惩原因", index = 6)
    private String reason;

    /**
     * 奖惩金额
     */
    @ExcelProperty(value = "奖惩金额", index = 7)
    private String money;

    /**
     * 奖惩备注
     */
    @ExcelProperty(value = "奖惩备注", index = 8)
    private String comment;

    /**
     * 判断是否合法，1表示合法可写，2表示非法禁写
     */
    @ExcelIgnore
    private Integer judgeLegality;

    /**
     * 文件路径
     */
    @ExcelIgnore
    private String pathFile;
}
